<{include file="header.html"}>
<link type="text/css" href="<{$smarty.const.APPLICATION_URL}>/lib_scripts/fullcalendar1.5.4/fullcalendar.css" rel="stylesheet" />
<script type="text/javascript" src="<{$smarty.const.APPLICATION_URL}>/lib_scripts/fullcalendar1.5.4/fullcalendar.min.js"></script>
<script>

	$(document).ready(function() {
	
		var date = new Date();
		var d = date.getDate();
		var m = date.getMonth();
		var y = date.getFullYear();
		
		$('#calendar').fullCalendar({
			header: {
				left: 'prev,next today',
				center: 'title',
				right: 'resourceDay,month,agendaWeek,agendaDay'
			},
			editable: false,
            defaultView: "resourceDay",
            resources: [<{$jsonTech}>],
			events: <{$jsonData}>,
			eventRender: function(event, element) {
				element.attr('title', event.tooltip);
			}
		});
		
	});

</script>
<style>
.customReject,
.customReject div,
.customReject span {
    background-color: red; /* background color */
    border-color: green;     /* border color */
    color: yellow;           /* text color */
}
</style>
	<!-- ALERT MANAGEMENT -->
	<div class="box_home">
		There are <{$NUMBER_ONLINE}> Online User(s) <br />
		<{if $numberBooking > 0}>
		<a href="<{$smarty.const.APPLICATION_URL}>/booking/list/?STATUS=0">There are <{$numberBooking}> Booking(s) that are waiting for approve</a> <br />
		<{/if}>
		<{if $numberTestimonial > 0}>
		<a href="<{$smarty.const.APPLICATION_URL}>/testimonial/list/?STATUS=0">There are <{$numberTestimonial}> Testimonial(s) that are waiting for approve</a> <br />
		<{/if}>
		<br />
		<div class="box_content">
			<div id='calendar'></div>
		</div>
	</div>
<{include file="footer.html"}>